package com.yuw.oop.finaldemo;

public class Student {

	// 属性
	private String stuName;
	// 静态常量
	private final static String STU_SCHOOL_NAME="天津师范大学";
	private String struSex;

	// 行为
	public void doStuding() {
		// final类型的局部变量
		final int age;
		// 初始化赋值
		age = 20;
		// 不能再次改变
		//age = 21;
		System.out.println(" is studing...");
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getStruSex() {
		return struSex;
	}

	public void setStruSex(String struSex) {
		this.struSex = struSex;
	}
	
	
}
